package com.connect.server.handler;

import java.io.IOException;
import java.nio.BufferUnderflowException;
import java.nio.channels.ClosedChannelException;
import java.util.Observable;

import org.xsocket.MaxReadSizeExceededException;
import org.xsocket.connection.IConnectHandler;
import org.xsocket.connection.IDataHandler;
import org.xsocket.connection.IDisconnectHandler;
import org.xsocket.connection.INonBlockingConnection;

public class DbHandler extends Observable implements IConnectHandler, IDataHandler,
		IDisconnectHandler {

	public boolean onConnect(INonBlockingConnection arg0) throws IOException,
			BufferUnderflowException, MaxReadSizeExceededException {
		// TODO Auto-generated method stub
		return true;
	}

	public boolean onData(INonBlockingConnection arg0) throws IOException,
			BufferUnderflowException, ClosedChannelException,
			MaxReadSizeExceededException {
		// TODO Auto-generated method stub
		return true;
	}

	public boolean onDisconnect(INonBlockingConnection arg0) throws IOException {
		// TODO Auto-generated method stub
		return true;
	}

}
